[Feature](docs) Impl the function map_concat like spark#3220
Open
nagisa-kunhah wants to merge 8 commits intoapache:masterfrom
Open
[Feature](docs) Impl the function map_concat like spark#3220nagisa-kunhah wants to merge 8 commits intoapache:masterfrom
nagisa-kunhah wants to merge 8 commits intoapache:masterfrom
Conversation
mrhhsg
reviewed
Dec 31, 2025
Member
mrhhsg
left a comment
There was a problem hiding this comment.
说明和示例可以再详尽一些,多个参数不是同样的类型,返回什么类型
16 tasks
zclllyybb
reviewed
Jan 17, 2026
Contributor
zclllyybb
left a comment
There was a problem hiding this comment.
please also add docs for 4.0 version. and mention that since version 4.0.4 we support it.
zclllyybb
reviewed
Jan 31, 2026
docs/sql-manual/sql-functions/scalar-functions/map-functions/map-concat.md
Outdated
Show resolved
Hide resolved
zclllyybb
reviewed
Jan 31, 2026
zclllyybb
reviewed
Feb 1, 2026
| 将多个 map 合并为一个 map。当合并具有不同键或值类型的 map 时,该函数会找到键和值的公共类型。 | ||
|
|
||
| :::info Note | ||
| Supported since Apache Doris 4.0.4. |
| +---------------------------------+ | ||
| ``` | ||
|
|
||
| 包含 null 元素的 map 合并:null 元素通常会在合并结果中保留。 |
Contributor
There was a problem hiding this comment.
不要使用这种模糊的说法,讲清楚究竟何时保留何时不保留
| - 当合并具有不同值类型的 map 时,函数会找到公共值类型 | ||
|
|
||
| ## 返回值 | ||
| 返回一个合并后的 `MAP`,包含所有输入 map 中的键值对。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Versions
Languages
Docs Checklist